{minimum_otp_vsn, "18.0"}.

{erl_opts, [
            % debug_info,
            % encrypt_debug_info,
            no_debug_info,
            warn_export_all,
            warn_unused_import,
            warn_unused_vars,
            nowarn_shadow_vars,
            % warnings_as_errors,
            {src_dirs, ["src", "test"]}
]}.
{deps, [
    {dynamic_compile,{git, "http://git.oschina.net/w_g/dynamic_compile.git", {branch, "master"}}}
]}.

{relx, [{release, {elcache , "0.0.3"},
         [elcache, crypto, sasl,
          dynamic_compile, runtime_tools]},

        {sys_config, "./config/sys.config"},
        {vm_args, "./config/vm.args"},

        {dev_mode, false},
        {include_src, false},
        {include_erts, true},
        {system_libs, true},

        {extended_start_script, true}]
}.

{profiles, [{prod, [{relx, [{dev_mode, false},
                            {include_erts, true}]}]
            }]
}.

{clean_files, ["erl_crash.dump", "rebar3.crashdump", "rebar.lock"]}.